package com.chen.order.system.ordersystem.service.impl;

import com.chen.order.system.ordersystem.entity.OrderEntity;
import com.chen.order.system.ordersystem.mapper.OrderMapper;
import com.chen.order.system.ordersystem.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 订单业务实现
 * @author :master
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper mapper;

    @Override
    public void addOrder(OrderEntity entity) {
        mapper.addOrder(entity);
    }

    @Override
    public void updateOrder(OrderEntity entity) {
        mapper.updateOrder(entity);
    }
}
